Skip to content

feat(work): reuse prepared source input and control metadata pages (#1017) - #1200

Merged
oxa-orchestrator[bot] merged 23 commits into
mainfrom
agent/1017-refill-source
Nov 17, 2026
Merged

oxa-orchestrator[bot] merged 23 commits into
mainfrom
agent/1017-refill-source

Conversation

@oxa-agent

@oxa-agent oxa-agent Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Feature A — native board (#1214, #1017). T2. Ports #307 row night-watch + feeder + goal-loop → board: assignment/leases. Prerequisite for #1192; #1162/#1166/#1173 are merged. Complete diff: four files, 284 additions.

The refill source needs complete normalized PR facts and fresh branch/link/issue metadata before admission. A single metadata page rejected valid paginated repositories and could miss a later PR that already covers an approved issue. Extracts #1192's existing Prepared/Input code into one reused module over the existing Reader. Metadata pages retain the global PR count and exact membership/heads; duplicate rows, missing pages/cursors, stalled pagination, changed heads and truncated nested links refuse the snapshot. Facts and metadata share one byte bound. Explicit issue inputs require current state/revision/link checks; the forty-open-PR intake cap applies before partition. Revalidation refreshes the same facts before claims.

Removes: the consuming CLI's separate Input implementation in dependent #1192; both consumers use this single adapter. No new transport, credentials, worker registry, task builder or state store.

CI only: tests-first 5be12e8 failed lane 44168464619 at both new runtime controls on both architectures (x86: 2/1298, partial-connection refusal). Fixed d9f630b passed 44170035668; formatting/dependency head a07d947 passed 44178473776, both x86_64+aarch64. Controls cover a later-page linked PR, stale metadata/revision, explicit intake and the global cap. No local builds/tests.

Current exact head e9faf01 normally merges main after #1162 landed; behavior and assertions are unchanged. Lane 44184068201 passed on x86_64 and aarch64 (oxa-cli, oxa-parity, oxa-work) at this exact head. Required checks 44184124467 also passed, including formatting, clippy, the real oxa build, both mandatory-bwrap workspace partitions and the exact-once/no-runtime-skip inventory guard. Prior green results are historical evidence. Exact-head Codex code review is clear: #1200 (comment) (summary 6962249967 records completed, no findings). Normal approval and merge-queue validation remain required.

This adapter alone does not complete live #307 acceptance. Native CLI lifecycle qualification, immutable receipt retention before publication and fenced release at true native completion remain same-row prerequisites. Publication/activation remain off pending composition and owner qualification; no helper starts.

oxa-agent Bot and others added 18 commits November 17, 2026 19:53
Resolve the work_shadow.rs conflict by keeping both sides: the bounded
detail-batch fixture and its HTTP failure tests from #1153, and main's
descendant-held pipe deadline test. The shared gh stub keeps both the
held-pipe block and the --include response header.

Refs: #1153
@oxa-agent
oxa-agent Bot marked this pull request as ready for review November 17, 2026 21:51
@n0rpan

n0rpan commented Nov 17, 2026

Copy link
Copy Markdown
Collaborator

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-17T22:02:30.993861Z e9faf01 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: e9faf013b7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@oxa-orchestrator
oxa-orchestrator Bot added this pull request to the merge queue Nov 17, 2026
Merged via the queue into main with commit dfb6f49 Nov 17, 2026
48 of 51 checks passed
@oxa-orchestrator
oxa-orchestrator Bot deleted the agent/1017-refill-source branch November 17, 2026 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant